html,
body,
#app {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: #d3d3dd;
  overflow: hidden;
}

.bg {
  background: url(../img/map_bg.jpg) no-repeat center;
  width: 100%;
  height: 100%;
  background-size: cover;
}
/* 头部标题   */
.header-box {
  width: 100%;
  height: 100px;
  text-align: center;
}
.index-title {
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
  letter-spacing: 4px;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 100px;
}
/*主体部分 布局结构 网格布局grid  */
.main {
  display: grid;
  width: 100%;
  height: calc(100% - 100px);
  grid-template-columns: 1fr 4fr;
  grid-template-rows: 1fr 3fr 2fr;
  gap: 20px;
}
/* 选中第一个模块跨列  */
.main div:nth-child(1) {
  grid-column: 1/3;
}
/* 选 中第二个模块跨行  */
.main div:nth-child(2) {
  grid-row: 2/4;
}
/* 第一个模块  */
.modulefirst {
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.2);
  height: 100%;
}
.modulefirst ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.modulefirst ul li {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 2px solid #0746a2;
  height: 80%;
}
/* 最后一个li  伪类选择*/
.modulefirst ul li:last-child {
  border-right: 2px solid #0746a2;
}
.modulefirst-item {
  display: flex;
  align-items: center;
}
/* 标题  */
.modulefirst-title {
  font-size: 20px;
  margin-bottom: 20px;
}
.modulefirst-num {
  font-size: 30px;
}
.modulefirst-uni {
  margin-left: 10px;
}
/* 选中的是147，258，369  */
/* 结构伪类选择器来进行选择  */
.modulefirst ul li:nth-child(3n + 1) .modulefirst-num {
  color: #4d98fb;
}
.modulefirst ul li:nth-child(3n + 2) .modulefirst-num {
  color: #f46827;
}
.modulefirst ul li:nth-child(3n + 3) .modulefirst-num {
  color: #40faee;
}
/* 边框样式  */
.boxstyle {
  border: 1px solid rgba(100, 140, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  position: relative;
}
/* 边框的左上角和右下角的样式  伪元素来设置 */
.boxstyle::before,
.boxstyle::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 30px;
}
/* 左上角  */
.boxstyle::before {
  left: -1px;
  top: -1px;
  border-left: 2px solid #0258f0;
  border-top: 2px solid #0258f0;
}
/* 右下角  */
.boxstyle::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid #0258f0;
  border-bottom: 2px solid #0258f0;
}

/* 第二个模块  */
.modulesecond {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* 标题  */
.title {
  height: 35px;
  font-size: 18px;
  color: #fff;
  width: 100%;
  font-weight: 600;
  padding-left: 15px;
}
.info-main {
  height: calc(100% - 35px);
}
.info-main ul {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  position: relative;
}
.info-main ul li {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}
/* 图片的大小  */
.info-main ul img {
  width: 48px;
  height: 48px;
}
.info-main p {
  font-size: 12px;
  color: #fff;
  opacity: 0.6;
  margin: 5px 0;
}
.info-main span {
  font-size: 24px;
  color: #fff;
  font-weight: 700;
}
/* 十字修饰线 通过伪元素添加 */
.info-main ul::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}
.info-main ul::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
}
/* 数字滚动插件  */
/* 1、安装依赖 cnpm i vue3-count-to -S */
/* 2、页面引用  import {CountTo} from 'vue3-count-to'*/
/* 3、组件的使用<countTo :startVal="0" :endVal="v.num" :duration='5000'></countTo>  */
/* span  */

/* 第三个模块  */
.modulethird {
  display: flex;
  width: 100%;
  height: 580px;
}
.modulethird-left {
  flex: 0 1 70%;
}
.modulethird-right {
  flex: 0 1 30%;
}

/* 地图 */
.cen-top {
  position: relative;
}
.map-num {
  position: absolute;
  left: 0;
  top: 0;
}
.map-num p {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
/* 电子字体  */
@font-face {
  font-family: "LED";
  src: url("../fonts/FX-LED.TTF");
}
/*字体 渐变  */
.map-num .num {
  font-family: "LED";
  font-size: 70px;
  font-weight: 600;
  background: linear-gradient(to bottom, #ffea7a, #ffea7a);
  -webkit-background-clip: text;
  color: transparent;
}
/* 第四个模块  */
.modulefourth {
  display: flex;
  width: 100%;
  height: 230px;
}
.modulefourth-left {
  flex: 0 1 60%;
}
.modulefourth-right {
  flex: 0 1 40%;
}
